<%--
  Created by IntelliJ IDEA.
  User: taohj
  Date: 2014/6/29
  Time: 18:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="menu" value="none" scope="request"></c:set>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!Doctype html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>政府数据开放平台</title>
    <jsp:include page="../../commons/include.jsp"/>


    <style>
        tr td:first-child {
            text-align: right;
            vertical-align: top;
        }

        tr {
            line-height: 40px;
        }


    </style>

</head>
<body>


<jsp:include page="../../commons/top.jsp"/>

<div class="main">


    <jsp:include page="../../commons/dashboardMenu.jsp"/>


    <div class="left">
        <ul>
            <li href="/front/my/dataset/list" class="active">数据集管理</li>
            <li href="/front/my/dataset/data/list">数据管理</li>
        </ul>
    </div>

    <div class="right">

        <div style="padding-top: 60px;padding-left: 80px;"><span style="font-size: 20px;font-weight: bold;">新增数据集</span></div>


        <form action="/front/my/dataset/create" method="post" style="width: 100%;">

            <input type="hidden" name="org" value="${requestScope.org}">

            <table width="600" class="updateTable">
                <tr>
                    <td width="60">名称:</td>
                    <td width="300"><input type="text" name="name" value="${requestScope.dataset.name}"></td>
                </tr>

                <tr>
                    <td>主题:</td>
                    <td>
                        <select name="theme">
                            <c:forEach items="${requestScope.themes}" var="theme">
                                <option value="${theme.id}">${theme.name}</option>
                            </c:forEach>
                        </select>
                    </td>
                </tr>

                <tr>
                    <td>简介:</td>
                    <td><textarea name="description" rows="8" class="form-control"></textarea></td>
                </tr>

                <tr>
                    <td colspan="2" style="text-align: left; padding-left: 150px;"><input type="submit" value="保 存">
                    </td>
                </tr>
            </table>
        </form>

    </div>


</div>
<jsp:include page="../../commons/buttom.jsp"/>
</body>
</html>
